//
//  ZLStatus.swift
//  新浪微博
//
//  Created by 朱玉龙 on 9/27/16.
//  Copyright © 2016 朱玉龙. All rights reserved.
//

import UIKit

class ZLStatus: NSObject {
    
    
    //微博ID
    var id:Int64 = 0
    
    //微博信息内容
    var text: String?
    
    //创建时间
    var created_at: String?
    
    //微博来源
    var source: String?
    //用户信息
    var user: ZLUser?
    //微博图片
    var pic_urls: [ZLPicture]?
    //评论数
    var comments_count: Int = 0
    //转发数
    var reposts_count: Int = 0
    //👍数
    var attitudes_count: Int = 0
    //被转发的微博
    var retweeted_status: ZLStatus?
    
    //注意,这里还要理解
    
    class func modelContainerPropertyGenericClass() -> [String : Any]? {
        return ["pic_urls": ZLPicture.self]
    }
    
}
